class cat {
   public size;
   public myset = new Set;
   public _value
  
   constructor(){
   }

   get value() {
       console.log('enter get')
    addSet(this.myset)
    return '222'
   }
  }
  
  
  let cat1 = new cat()

  console.log('value', cat1.value)


  function addSet(set) {
    set.add('1123')
  }
  
  
  console.log('cat', cat1.myset)